package cn.icanci.loopstack.plugin.dalgen.model;

import java.util.List;

/**
 * 类相关信息
 * 
 * @author icanci
 * @since 1.0 Created in 2022/05/13 17:31
 */
public class ClassInfoVO {
    /***
     * 表名
     */
    private String            tableName;

    /**
     * class类名
     */
    private String            className;

    /**
     * 真实class类名
     */
    private String            realClassName;

    /**
     * 真实class类名
     */
    private String            realClassMapperName;

    /**
     * 真实class类名
     */
    private String            realClassVOName;
    /**
     * class实体参数名 如: classInfoVO
     */
    private String            modelName;

    /**
     * class实体参数名 如: classInfoVO
     */
    private String            modelVOName;
    /**
     * class注释
     */
    private String            classComment;

    /***
     * 主键字段及值 (默认以持有字段的 index=0 为主键)
     */
    private FieldInfoVO       key;

    /**
     * 持有字段
     */
    private List<FieldInfoVO> fieldList;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getRealClassName() {
        return realClassName;
    }

    public void setRealClassName(String realClassName) {
        this.realClassName = realClassName;
    }

    public String getRealClassMapperName() {
        return realClassMapperName;
    }

    public void setRealClassMapperName(String realClassMapperName) {
        this.realClassMapperName = realClassMapperName;
    }

    public String getRealClassVOName() {
        return realClassVOName;
    }

    public void setRealClassVOName(String realClassVOName) {
        this.realClassVOName = realClassVOName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelVOName() {
        return modelVOName;
    }

    public void setModelVOName(String modelVOName) {
        this.modelVOName = modelVOName;
    }

    public String getClassComment() {
        return classComment;
    }

    public void setClassComment(String classComment) {
        this.classComment = classComment;
    }

    public FieldInfoVO getKey() {
        return key;
    }

    public void setKey(FieldInfoVO key) {
        this.key = key;
    }

    public List<FieldInfoVO> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<FieldInfoVO> fieldList) {
        this.fieldList = fieldList;
    }
}
